package com.huosu.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 算力情况
 * </p>
 *
 * @author hun
 * @since 2019-12-17
 */
@Data
@ApiModel(value = "算力情况", description = "算力情况")
public class HashInfo2 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "币种")
    private String coin;

    @ApiModelProperty(value = "总算力")
    private BigDecimal allHash;

    @ApiModelProperty(value = "已防护算力")
    private BigDecimal protectedAllHash;

    @ApiModelProperty(value = "已防护非正常的算力")
    private BigDecimal protectedHash;

    @ApiModelProperty(value = "未防护非正常的算力")
    private BigDecimal noProtectedHash;

    public HashInfo2() {
        this.coin = null;
        this.allHash = BigDecimal.ZERO;
        this.protectedAllHash = BigDecimal.ZERO;
        this.protectedHash = BigDecimal.ZERO;
        this.noProtectedHash = BigDecimal.ZERO;
    }

}
